Hummingbird\Core\Modules\Background\HB_Background_Process B

Total Complexity 93
Dependencies 6
Dependents 0
Total lines 846
Lines of code 378
Logical lines of code 226
Comment lines 333
Methods 58
Properties 6

Methods 58

Method Rating Maintainability Complexity Lines of code
handle()
A
46 8 38
get_memory_limit()
S
55 6 20
maybe_handle()
S
55 6 19
handle_cron_healthcheck()
S
54 5 25
update_queue()
S
55 4 18
get_queue()
S
60 4 14
remove_task_from_queue()
S
59 3 14
is_process_running()
S
72 2 6
memory_exceeded()
S
64 2 9
time_exceeded()
S
66 2 8
schedule_event()
S
64 2 9
task_limit_reached()
S
71 2 6
get_cron_interval_seconds()
S
70 2 5
update_timestamp()
S
63 1 11
__construct()
S
64 1 9
generate_unique_id()
S
79 1 3
dispatch()
S
73 1 5
spawn()
S
71 1 6
delete_queue()
S
73 1 5
get_queue_key()
S
80 1 3
is_queue_empty()
S
80 1 3
complete()
S
72 1 6
schedule_cron_healthcheck()
S
66 1 8
revive_process()
S
74 1 5
mark_as_dead()
S
74 1 5
clear_scheduled_event()
S
73 1 5
cancel_process()
S
77 1 4
cancel()
S
65 1 9
task()
S
100 1 0
is_active_instance()
S
80 1 3
set_active_instance_id()
S
79 1 3
get_active_instance_id()
S
79 1 3
get_active_instance_option_id()
S
80 1 3
set_process_id()
S
79 1 3
get_process_id()
S
79 1 3
delete_process_id()
S
81 1 3
get_process_id_option_key()
S
80 1 3
logger()
S
80 1 3
get_status()
S
82 1 3
start()
S
64 1 10
get_time_limit()
S
78 1 3
get_instance_expiry_duration_seconds()
S
80 1 3
get_last_run_transient_key()
S
80 1 3
clear_last_run_timestamp()
S
81 1 3
cleanup()
S
68 1 8
get_tasks_per_request()
S
82 1 3
set_tasks_per_request()
S
81 1 3
do_action()
S
79 1 3
get_identifier()
S
82 1 3
increment_revival_count()
S
79 1 3
set_revival_count()
S
79 1 3
get_revival_count()
S
78 1 3
delete_revival_count()
S
81 1 3
get_revival_count_option_key()
S
80 1 3
get_revival_limit()
S
78 1 3
is_revival_limit_reached()
S
80 1 3
log()
S
76 1 4
action_name()
S
79 1 3